<template>
    <el-table-column  align="left" v-bind="$attrs" v-on="$listeners">
        <template slot-scope="{ row }">
            <span v-if="row.is_draft == 0" class="yellowSpan">审批中</span>
            <span v-else-if="row.is_draft == 1">草稿</span>
            <span v-else-if="row.is_draft == 2" class="redSpan">被退回</span>
            <span v-else-if="row.is_draft == 3" class="greenSpan">初审通过</span>
            <!--                    <span v-else-if="row.is_draft == 4">评议中</span>-->
            <span v-else-if="row.is_draft == 5">已立项</span>
            <span v-else-if="row.is_draft == 6">建设中</span>
            <span v-else-if="row.is_draft == 7">中期验收</span>
            <span v-else-if="row.is_draft == 8">预验收</span>
            <span v-else-if="row.is_draft == 9">项目整改</span>
            <span v-else-if="row.is_draft == 10">验收通过</span>
            <span v-else-if="row.is_draft == 11">被终止</span>
            <span v-else-if="row.is_draft == 12">已终结</span>
        </template>
    </el-table-column>
</template>
<script>
    export default {
        name:"MyStatusColumn",
        methods:{
        }
    }
</script>
